#ifndef VX_H
#define VX_H

#include <QtGui>


class Vx : public QObject
{

public:
	enum Parameters{
		ZoomDelay				= 800,
		HandMoveDelay			= 800,

		PressedIdle				= 500,
		ReleasedIdle			= 500,
		MouseMomentumCnt		= 5,	// avveranges nodes of mouse track
		MouseMomentumDlt		= 5,	// min momentum

		DeltaHide				= 50,
		HideDuration			= 200,

		BreakdownMomentum		= 4,
		BreakdownEffort			= 10,

		FloatingAcceptDelay		= 300,	// ms before isFloating checks

		SymbolsExplorerAlpha	= 50	// alpha % (0..100%)


	};

	static bool haveEditing(QGraphicsScene * scene);

	static void setCacheMode(QGraphicsScene * scene, QGraphicsItem::CacheMode mode, qreal scale=1);

	static QPointF viewPoint(QGraphicsView * view);

	static int setScale(QGraphicsView * view, int scale);

};



#endif // VX_H
